package com.lintcode.solution;

public class Solution_29 {
    public boolean isInterleave(String s1, String s2, String s3) {
        if (((s1 == null ? "" : s1).length() + (s2 == null ? "" : s2).length()) != (s3 == null ? "" : s3).length()) {
            return false;
        }
        char[] c1 = (s1 == null ? "" : s1).toCharArray();
        char[] c2 = (s2 == null ? "" : s2).toCharArray();
        char[] c3 = (s3 == null ? "" : s3).toCharArray();
        
        if (c1.length > 0 && c3.length > 0 && c1[ 0 ] == c3[ 0 ]) {
            StringBuffer str = new StringBuffer();
            for (int i = 0; i < c1.length; i++) {
                if (c1[ i ] != c3[ i ]) {
                
                }
            }
        }
        return true;
    }
}
